package com.hhit.zhgd.domain.entity

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import java.util.*

data class ZhgdDevice(
    @TableId(type = IdType.AUTO)
    val id: Int? = null,
    val deviceName: String? = null,
    val deviceType: String? = null,
    val deviceNum: String? = null,
    val deviceChannel: String? = null,
    val deviceChannel2: String? = null,
    val longitude: String? = null,
    val latitude: String? = null,
    var status: Int? = null,
    val x: String? = null,
    val y: String? = null,
    val z: String? = null,
    val streamType: Int? = null,
    val createTime: Date? = null,
    val updateTime: Date? = null,
    @TableField(exist = false)
    val children: List<ZhgdDevice>? = null,
    @TableField(exist = false)
    val level: Int? = null,
    @TableField(exist = false)
    val bdLongitude: String? = null,
    @TableField(exist = false)
    val bdLatitude: String? = null,
    @TableField(exist = false)
    val page: Int? = null,
    @TableField(exist = false)
    val size: Int? = null,
    @TableField(exist = false)
    val keyWord: String? = null
) : java.io.Serializable {
    companion object {
        private const val serialVersionUID = 1L
    }
}